var Mock = require('mockjs');

exports.response = function(req, res) {
  return Mock.mock({
    "msg": "OK",
    "code": 0,
    "data": [
      {
        "interval": "小于-5",
        "times": 0
      }, {
        "interval": "(-5,-3]",
        "times": 0
      }, {
        "interval": "(-3,-1]",
        "times": 6
      }, {
        "interval": "(-1,0]",
        "times": 0
      }, {
        "interval": "(0,1]",
        "times": 4
      }, {
        "interval": "(1,3]",
        "times": 6
      }, {
        "interval": "(3,5]",
        "times": 3
      }, {
        "interval": "大于5",
        "times": 0
      }
    ]
  })
}
